
.nav_bar {
  height: 44px;
  line-height: 44px;
  background-color: #f5f5f5;
  color: #666
}

.nav_bar a {
  padding-right: 3px
}

main {
  background: #fafafa;
  margin-top: 142px;

}

.page{
  width: 300px !important;
  height: 50px;
  display: flex;
  transform: translateY(20px);
  justify-content: space-between;
  align-items: center;
 button{
   background: white;
   border: 1px solid red;
   font-size: 16px;
 }
  p{
    font-size: 16px;
  }
}

.sort {
  display: flex;
  justify-content: flex-end;

  a {
    float: right;
    margin: 25px 32px;
    font-size: 14px;
    cursor: pointer;
  }

  div {
    width: 1px;
    height: 22px;
    background: #dddddd;
    margin: 22px;
  }
}

.goods-list {
  ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;

    li {
      width: 315px;
      height: 425px;
      background: white;
      margin-left: 15px;
      margin-top: 10px;
      position: relative;
    }
  }
}

.shoucang {
  color: #c4c4c4;
  font-size: 12px;
  position: absolute;
  top: 23px;
  right: 16px;
  margin-right: 5px;
  display: flex;
  align-items: center;

  .iconfont {
    margin-right: 5px;
  }

}

.goods-list-show {
  margin-top: 85px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;

  a {
    display: flex;
    justify-content: center;
  }

  img {
    width: 90%;
  }

  .name {
    font-size: 15px;
  }

  .price {
    color: #ec4204;
    font-size: 20px;
  }
}

.add {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
  background: rgba(0, 0, 0, .8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  display: none;

  .add-btn {
    width: 80%;
    height: 50px;
    border: 1px solid white;
    transform: translateY(-3px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    .iconfont{
      margin-right: 5px;
      font-size: 22px;
    }
    &:hover{
      background: #ec4204;
      border: none;
    }
  }
}